    <div id="main_box">
        <div class="h"> Danh Sách Sim </div>
        <div class="b">
            <table id="tables" cellspacing="1">
            	
                <tr>
                    <td class="top" style="width: 7%; height: 20px; text-align: center;">
                    <strong>STT</strong></td>
                    <td class="top" style="width: 25%; height: 20px; text-align: center;">
                    <strong><a href="index.php?&amp;type=10">10 Số </a> | <a href="index.php?&amp;type=11">11 Số </a></strong></td>
                    <td class="top" style="width: 30%; height: 20px; text-align: center;">
                    <strong><a href="index.php?&amp;xep=1">Giá Tăng </a> | <a href="index.php?&amp;xep=2">Giá Giảm </a></strong></td>
                    <td class="top" style="width: 25%; height: 20px; text-align: center;">
                    <strong>Mạng</strong></td>
                    <td class="top" style="width: 13%; height: 20px; text-align: center;">
                    <strong>Đặt Mua</strong></td>
                </tr>
                <?php if(isset($post) && is_array($post)) {?>
	                <?php $i = 1; foreach ($post as $key=>$value) { ?>
	                <tr>
	                    <td style="width: 7%; text-align: center; background-color: #FFFFFF;">
	                    <?php echo $i; ?></td>
	                    <td class="tampx" style="width: 25%; background-color: #FFFFFF;">
	                    	<a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>">
	                    		<strong><?php echo $value['phone']?></strong>
	                    	</a>
	                    </td>
	                    <td class="tampx" style="width: 30%; background-color: #FFFFFF;">
	                    	<?php if(strlen($value['price_update']) > 2) {?>
	                    		<?php echo $this->mycommon->toMoney($value['price_update']); ?>
	                    	<?php }else{ ?>
	                    		<?php echo $this->mycommon->toMoney($value['price']); ?>
	                    	<?php }?> 
	                    	<sup><font size="1">(VNĐ)</font></sup>
	                    </td>
	                    <td style="width: 25%; text-align: center; background-color: #FFFFFF;">
	                    	<strong><?php echo $value['name']?></strong></td>
	                    <td style="width: 13%; text-align: center; background-color: #FFFFFF;">
	                    <strong>
	                    <a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>">
	                    Đặt Mua</a> </strong></td>
	                </tr>
	                
	               	<?php $i++;} ?>
	           	<?php }else {?>
	           		<tr><td colspan="6"><span style="color:red">Sim trong hệ thống đang được cập nhật!</span></td></tr>
	           	<?php }?>
            </table>
            <div style="height: 3px; clear: both"> </div>
            <div align="center" style="margin: 0 auto">
                <div id="pages">
                    <ul>
                        <li><span>1</span></li>
                        <li><a href="@Sim-2.html">2</a></li>
                        <li><a href="@Sim-3.html">3</a></li>
                        <li><a href="@Sim-4.html">4</a></li>
                    </ul>
                 </div> 
            </div>
           </div>
        <div class="c"> </div>
       </div>
</div>
<script>
</script>
